package com.mongodb.dao;

import com.mongodb.document.test.AddressDocument;
import org.springframework.data.mongodb.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AddressDao<ID> extends BaseDao<AddressDocument, ID> {

    @Query("{}")
    List<AddressDocument> findAddressDocument();
}
